import { TJshortcuts } from '@/utils/config'
export const queryFormConfig = {
  formItems: [
    {
      filed: 'orderNo',
      type: 'input',
      label: '订单号',
      placeholder: '请输入订单号',
      clearable: true
    },
    {
      filed: 'memberInfo',
      type: 'input',
      label: '会员信息',
      placeholder: '会员昵称/手机号/卡号',
      clearable: true
    },
    {
      filed: 'dates',
      label: '创建时间',
      type: 'daterange',
      pickerOptions: {
        shortcuts: TJshortcuts
      }
    },
    {
      filed: 'channel',
      type: 'select',
      label: '充值渠道',
      placeholder: '请选择充值渠道',
      clearable: true,
      options: [
        { value: '01', label: '小程序端' },
        { value: '02', label: '场馆pc端' }
      ]
    },
    {
      filed: 'payStatus',
      type: 'select',
      label: '订单状态',
      placeholder: '请选择订单状态',
      clearable: true,
      labelCode: 'name',
      options: [
      ]
    },
    {
      filed: 'cardType',
      type: 'select',
      label: '会员卡类型',
      placeholder: '请选择会员卡类型',
      options: []
    },
    {
      filed: 'orderType',
      type: 'select',
      label: '订单类型',
      placeholder: '请选择订单类型',
      options: [
        { value: '01', label: '会员充值' },
        { value: '05', label: '会员开卡' }
      ]
    },
    {
      filed: 'creator',
      type: 'input',
      label: '操作人昵称',
      placeholder: '请输入操作人昵称',
      clearable: true
    }
  ],
  online: true
}
